<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">阿里云APPCODE</label>
        <div class="layui-input-block">
            <input type="text" name="settings[ali_appcode]" class="layui-input" placeholder="请输入阿里云APPCODE" value="{$row['settings']['ali_appcode']?:''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">阿里云OCR识别次数</label>
        <div class="layui-input-block">
            <input type="number" min="0" name="settings[ali_ocr_num]" class="layui-input" placeholder="请输入阿里云OCR识别次数" value="{$row['settings']['ali_ocr_num']?:0}">
            <tip>阿里云OCR识别次数</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">OCR识别方式</label>
        <div class="layui-input-block">
            <input type="radio" name="settings[ocr_type]" class="layui-input" lay-verify="required" placeholder="" value="0" title="阿里云" {if empty($row['settings']['ocr_type']) || $row['settings']['ocr_type']==0}checked{/if}>
            <input type="radio" name="settings[ocr_type]" class="layui-input" lay-verify="required" placeholder="" value="1" title="百度" {if !empty($row['settings']['ocr_type']) && $row['settings']['ocr_type']==1}checked{/if}>
            <tip>OCR识别方式</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">百度KEY</label>
        <div class="layui-input-block">
            <input type="text" name="settings[baidu_key]" class="layui-input" placeholder="请输入百度KEY" value="{$row['settings']['baidu_key']?:''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">百度SECRET</label>
        <div class="layui-input-block">
            <input type="text" name="settings[baidu_secret]" class="layui-input" placeholder="请输入百度KEY" value="{$row['settings']['baidu_secret']?:''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">税点</label>
        <div class="layui-input-block">
            <input type="number" min="0" name="settings[tax_point]" class="layui-input" lay-verify="required" placeholder="请输入税点" value="{$row['settings']['tax_point']?:0}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公司商业手续费</label>
        <div class="layui-input-block">
            <input type="number" min="0" name="settings[scharge_company_point_sy]" class="layui-input" lay-verify="required" placeholder="请输入公司商业手续费" value="{$row['settings']['scharge_company_point_sy']?:0}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公司交强手续费</label>
        <div class="layui-input-block">
            <input type="number" min="0" name="settings[scharge_company_point_jq]" class="layui-input" lay-verify="required" placeholder="请输入公司交强手续费" value="{$row['settings']['scharge_company_point_jq']?:0}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公司驾乘手续费</label>
        <div class="layui-input-block">
            <input type="number" min="0" name="settings[scharge_company_point_jc]" class="layui-input" lay-verify="required" placeholder="请输入公司驾乘手续费" value="{$row['settings']['scharge_company_point_jc']?:0}">
        </div>
    </div>

    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="insurance.config/index" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>